From c72311d01a827a61d6d3d786416ddb442076d73a Mon Sep 17 00:00:00 2001 From: Sebastien Castiel Date: Wed, 6 Dec 2023 12:39:54 -0500 Subject: Better loading behavior --- src/app/groups/[groupId]/layout.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/app/groups/[groupId]/layout.tsx') diff --git a/src/app/groups/[groupId]/layout.tsx b/src/app/groups/[groupId]/layout.tsx index f8030c6..438afea 100644 --- a/src/app/groups/[groupId]/layout.tsx +++ b/src/app/groups/[groupId]/layout.tsx @@ -15,13 +15,20 @@ export default async function GroupLayout({ if (!group) notFound() return ( -
+ <>
+
+ +
+

+ {group.name} +

+
-

{group.name}

- {children} -
+ ) } -- cgit v1.3